package com.heima.common;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 封装分页查询结果
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T>  {
    private Integer pageIndex;
    private Integer pageSize;
    private Integer totalPage;
    private Long totalCount;
    private List<T> currentPageRecords;

}